const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  // avatar: state => state.user.avatar,
  // name: state => state.user.name
  avatar: state => state.user.user.avatar,
  name: state => state.user.user.name,
  // organOverview: state => state.dashboard.user.organOverview,
  // 机构概述
  organOverview: state => (state.dashboard.user.organOverview || {}),
  // 今日数据
  todayData: state => (state.dashboard.user.todayData || {}),
  // 待办任务
  backlog: state => (state.dashboard.user.backlog || {}),
  // backlog: state => state.dashboard.user.backlog
  // 运输任务
  transportTaskList: state => (state.dashboard.user.transportTaskList || {})

}
export default getters
